<?php

declare(strict_types=1);
/**
 * This file is part of micro-share.
 *
 * @link     https://www.cppo.cn/
 * @contact  1300188034@qq.com
 * @license  https://gitee.com/cppo/micro_share/blob/master/README.md
 */

namespace App\Controller;

use Psr\Http\Message\ResponseInterface;

class IndexController extends AbstractController
{
    public function index(): ResponseInterface
    {
        return $this->response->json([
            'version' => '1.0.0',
            'service' => 'micro share',
        ]);
    }
}
